﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace qf_cms.admin
{
	public partial class lic : System.Web.UI.Page
	{
		protected string cam = "", tip="";
		protected bool hasLic = false;
		LogicLayer mgr = new LogicLayer();
 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (IsPostBack)
			{
				if (!string.IsNullOrEmpty(Request.Form["licKey"]))
				{
					if (!mgr.SubmitLicense(Request.Form["licKey"]))
						tip = "校验失败!";
				}
			}
			cam = mgr.GetCam();
			hasLic = mgr.VerifyLicense();
		}
	}
}